package com.zijin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zijin.entity.Frozen513;
import com.zijin.mapper.Frozen513Mapper;
import com.zijin.service.Frozen513Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 513所有冻结结果去重Service实现
 * */
@Service
public class Frozen513ServiceImpl extends ServiceImpl<Frozen513Mapper, Frozen513> implements Frozen513Service {
    @Autowired
    private Frozen513Mapper frozen513Mapper;
    /**
     * 根据卡号查询冻结结果
     * @return*/
    @Override
    public Frozen513 findFrozenByCardNo(String bankNo) {
        /**
        * SELECT a.* FROM `所有冻结结果去重` a WHERE a.`冻结卡号` = '6227001935160838172'
        * */
        return frozen513Mapper.findFrozenByCardNo(bankNo);
    }
}
